<%@ page language="java" pageEncoding="UTF-8"%>
<script type="text/javascript">
	var resumeDatagrid;
	var vehicleDatagrid;
	var relationshipDatagrid;
	var familyDatagrid;
	var educationDatagrid;
	var trainingDatagrid;
	$(function() {
		resumeDatagrid = $('#student_studentEdit_resumeDatagrid').datagrid({
			url : '${pageContext.request.contextPath}/resumeAction!queryResume.action',
			fit : true,
			fitColumns : true,
			border : false,
			pagination : true,
			idField : 'id',
			pageSize : 10,
			pageList : [ 10 ],
			checkOnSelect : true,
			selectOnCheck : true,
			singleSelect : true,
			columns : [ [ {
				field : 'id',
				title : '编号',
				width : 150,
				checkbox : true
			}, {
				field : 'corporationName',
				title : '单位',
				width : 80,
				sortable : true
			}, {
				field : 'region',
				title : '地区',
				width : 50,
				align : 'center'
			}, {
				field : 'position',
				title : '职务',
				width : 100,
				align : 'center'
			}, {
				field : 'headFlag',
				title : '是否负责人',
				width : 100,
				align : 'center'
			}, {
				field : 'startDate',
				title : '开始日期',
				width : 100,
				align : 'center'
			}, {
				field : 'endDate',
				title : '截止日期',
				width : 100,
				align : 'center'
			} ] ]
		});

		vehicleDatagrid = $('#student_studentEdit_vehicleDatagrid').datagrid({
			url : '${pageContext.request.contextPath}/vehicleAction!queryVehicle.action',
			fit : true,
			fitColumns : true,
			border : false,
			pagination : true,
			idField : 'id',
			pageSize : 10,
			pageList : [ 10 ],
			//sortName : 'endDate',
			//sortOrder : 'desc',
			checkOnSelect : true,
			selectOnCheck : true,
			singleSelect : true,
			columns : [ [ {
				field : 'id',
				title : '编号',
				width : 80,
				checkbox : true
			}, {
				field : 'brand',
				title : '品牌',
				width : 150,
				sortable : true
			}, {
				field : 'model',
				title : '型号',
				width : 100,
				align : 'center'
			}, {
				field : 'plateNo',
				title : '车牌号码',
				width : 100,
				align : 'center'
			}, {
				field : 'memo',
				title : '备注',
				width : 150,
				align : 'center'
			} ] ]
		});

		relationshipDatagrid = $('#student_studentEdit_relationshipDatagrid').datagrid({
			url : '${pageContext.request.contextPath}/relationshipAction!queryRelationship.action',
			fit : true,
			fitColumns : true,
			border : false,
			pagination : true,
			idField : 'id',
			pageSize : 10,
			pageList : [ 10 ],
			//sortName : 'endDate',
			//sortOrder : 'desc',
			checkOnSelect : true,
			selectOnCheck : true,
			singleSelect : true,
			columns : [ [ {
				field : 'id',
				title : '编号',
				width : 80,
				checkbox : true
			}, {
				field : 'name',
				title : '姓名',
				width : 100,
				sortable : true
			}, {
				field : 'relationship',
				title : '关系',
				width : 100,
				align : 'center'
			}, {
				field : 'corporationName',
				title : '单位',
				width : 150,
				align : 'center'
			}, {
				field : 'phone',
				title : '联系电话',
				width : 100,
				align : 'center'
			}, {
				field : 'qq',
				title : 'QQ',
				width : 80,
				align : 'center'
			}, {
				field : 'email',
				title : '电子邮件',
				width : 100,
				align : 'center'
			}, {
				field : 'memo',
				title : '备注',
				width : 150,
				align : 'center'
			} ] ]
		});

		familyDatagrid = $('#student_studentEdit_familyDatagrid').datagrid({
			url : '${pageContext.request.contextPath}/familyAction!queryFamily.action',
			fit : true,
			fitColumns : true,
			border : false,
			pagination : true,
			idField : 'id',
			pageSize : 10,
			pageList : [ 10 ],
			//sortName : 'endDate',
			//sortOrder : 'desc',
			checkOnSelect : true,
			selectOnCheck : true,
			singleSelect : true,
			columns : [ [ {
				field : 'id',
				title : '编号',
				width : 80,
				checkbox : true
			}, {
				field : 'name',
				title : '姓名',
				width : 80,
				sortable : true
			}, {
				field : 'relationship',
				title : '关系',
				width : 80,
				align : 'center'
			}, {
				field : 'gender',
				title : '性别',
				width : 80,
				align : 'center'
			}, {
				field : 'birthday',
				title : '出生日期',
				width : 100,
				align : 'center'
			}, {
				field : 'belief',
				title : '宗教信仰',
				width : 80,
				align : 'center'
			}, {
				field : 'health',
				title : '健康状况',
				width : 100,
				align : 'center'
			}, {
				field : 'memo',
				title : '备注',
				width : 150,
				align : 'center'
			} ] ]
		});

		educationDatagrid = $('#student_studentEdit_educationDatagrid').datagrid({
			url : '${pageContext.request.contextPath}/educationAction!queryEducation.action',
			fit : true,
			fitColumns : true,
			border : false,
			pagination : true,
			idField : 'id',
			pageSize : 10,
			pageList : [ 10 ],
			//sortName : 'endDate',
			//sortOrder : 'desc',
			checkOnSelect : true,
			selectOnCheck : true,
			singleSelect : true,
			columns : [ [ {
				field : 'id',
				title : '编号',
				width : 60,
				checkbox : true
			}, {
				field : 'phaseName',
				title : '阶段名称',
				width : 100,
				sortable : true
			}, {
				field : 'school',
				title : '就读学校',
				width : 100,
				align : 'center'
			}, {
				field : 'startDate',
				title : '学习开始日期',
				width : 80,
				align : 'center'
			}, {
				field : 'endDate',
				title : '学习截止日期',
				width : 80,
				align : 'center'
			}, {
				field : 'education',
				title : '学历',
				width : 60,
				align : 'center'
			}, {
				field : 'degree',
				title : '学位',
				width : 60,
				align : 'center'
			}, {
				field : 'memo',
				title : '备注',
				width : 150,
				align : 'center'
			} ] ]
		});

		trainingDatagrid = $('#student_studentEdit_trainingDatagrid').datagrid({
			url : '${pageContext.request.contextPath}/trainingAction!queryTraining.action',
			fit : true,
			fitColumns : true,
			border : false,
			pagination : true,
			idField : 'id',
			pageSize : 10,
			pageList : [ 10 ],
			//sortName : 'endDate',
			//sortOrder : 'desc',
			checkOnSelect : true,
			selectOnCheck : true,
			singleSelect : true,
			columns : [ [ {
				field : 'id',
				title : '编号',
				width : 60,
				checkbox : true
			}, {
				field : 'trainingName',
				title : '培训名称',
				width : 100,
				sortable : true
			}, {
				field : 'trainingSchool',
				title : '培训学校',
				width : 150,
				align : 'center'
			}, {
				field : 'startDate',
				title : '培训开始日期',
				width : 80,
				align : 'center'
			}, {
				field : 'endDate',
				title : '培训截止日期',
				width : 80,
				align : 'center'
			}, {
				field : 'certificateName',
				title : '证书名称',
				width : 60,
				align : 'center'
			}, {
				field : 'memo',
				title : '备注',
				width : 150,
				align : 'center'
			} ] ]
		});
	});
</script>

<div class="easyui-tabs" data-options="plain: true" style="width:850px;height:350px;margin:0;padding:0;">
	<div title="基本信息" data-options="iconCls:'icon-reload'" style="padding:20px;">
		<form id="student_studentEdit_editGeneralForm" method="post">
			<table>
				<tr>
					<td style="text-align: right;">姓名：</td>
					<td><input name="studentName" readonly="readonly" /></td>
					<td style="text-align: right;">&nbsp;&nbsp;&nbsp;&nbsp;学号：</td>
					<td><input name="studentNo" readonly="readonly" /></td>
				</tr>
				<tr>
					<td style="text-align: right;">性别：</td>
					<td><input type="radio" name="gender" value="1" checked="checked" />&nbsp;&nbsp;男 <input type="radio" name="gender" value="2" />&nbsp;&nbsp;女</td>
					<td style="text-align: right;">职称：</td>
					<td><input name="title" readonly="readonly" /></td>
				</tr>
				<tr>
					<td style="text-align: right;">工作单位：</td>
					<td colspan="3"><input name="corporationName" style="width:320px;" readonly="readonly" /></td>
				</tr>
				<tr>
					<td style="text-align: right;">职务：</td>
					<td><input name="position" readonly="readonly" /></td>
					<td style="text-align: right;">手机：</td>
					<td><input name="mobile" readonly="readonly" /></td>
				</tr>
				<tr>
					<td style="text-align: right;">电子邮件：</td>
					<td><input name="email" readonly="readonly" /></td>
					<td style="text-align: right;">QQ：</td>
					<td><input name="qq" readonly="readonly" /></td>
				</tr>
				<tr>
					<td style="text-align: right;">固话：</td>
					<td><input name="phone" readonly="readonly" /></td>
					<td style="text-align: right;">传真：</td>
					<td><input name="fax" readonly="readonly" /></td>
				</tr>
			</table>
		</form>
	</div>
	<div title="职业履历" data-options="iconCls:'icon-reload'" style="padding: 20px 0 0 0;">
		<div id="student_studentEdit_resumeLayout" class="easyui-layout" data-options="fit:true">
			<div data-options="region:'center',border:false">
				<table id="student_studentEdit_resumeDatagrid"></table>
			</div>
		</div>
	</div>
	<div title="个人爱好" data-options="iconCls:'icon-reload'" style="padding:20px;">
		<form id="student_studentEdit_editHobbyForm" method="post">
			<table>
				<tr>
					<td style="text-align: right;">交流方式：</td>
					<td colspan="2"><textarea name="communication" style="width:240px;" readonly="readonly"></textarea></td>
					<td style="text-align: right;">&nbsp;&nbsp;&nbsp;&nbsp;着装配饰：</td>
					<td colspan="2"><textarea name="clothes" style="width:240px;" readonly="readonly"></textarea></td>
				</tr>
				<tr>
					<td style="text-align: right;">性格特征：</td>
					<td colspan="2"><textarea name="feature" style="width:240px;" readonly="readonly"></textarea></td>
					<td style="text-align: right;">&nbsp;&nbsp;&nbsp;&nbsp;娱乐方式：</td>
					<td colspan="2"><textarea name="pastime" style="width:240px;" readonly="readonly"></textarea></td>
				</tr>
				<tr>
					<td style="text-align: right;">饮食：</td>
					<td colspan="2"><textarea name="diet" style="width:240px;" readonly="readonly"></textarea></td>
					<td style="text-align: right;">&nbsp;&nbsp;&nbsp;&nbsp;住宿：</td>
					<td colspan="2"><textarea name="lodge" style="width:240px;" readonly="readonly"></textarea></td>
				</tr>
				<tr>
					<td style="text-align: right;">出行：</td>
					<td colspan="2"><textarea name="trip" style="width:240px;" readonly="readonly"></textarea></td>
					<td style="text-align: right;">&nbsp;&nbsp;&nbsp;&nbsp;其它爱好：</td>
					<td colspan="2"><textarea name="otherInterest" style="width:240px;" readonly="readonly"></textarea></td>
				</tr>
			</table>
		</form>
	</div>
	<div title="车辆信息" data-options="iconCls:'icon-reload'" style="padding:20px 0 0 0;">
		<div id="student_studentEdit_vehicleLayout" class="easyui-layout" data-options="fit:true">
			<div data-options="region:'center',border:false">
				<table id="student_studentEdit_vehicleDatagrid"></table>
			</div>
		</div>
	</div>
	<div title="人际关系" data-options="iconCls:'icon-reload'" style="padding:20px 0 0 0;">
		<div id="student_studentEdit_relationshipLayout" class="easyui-layout" data-options="fit:true">
			<div data-options="region:'center',border:false">
				<table id="student_studentEdit_relationshipDatagrid"></table>
			</div>
		</div>
	</div>
	<div title="家庭信息" data-options="iconCls:'icon-reload'" style="padding:20px 0 0 0;">
		<div id="student_studentEdit_familyLayout" class="easyui-layout" data-options="fit:true">
			<div data-options="region:'center',border:false">
				<table id="student_studentEdit_familyDatagrid"></table>
			</div>
		</div>
	</div>
	<div title="教育信息" data-options="iconCls:'icon-reload'" style="padding:20px 0 0 0;">
		<div id="student_studentEdit_educationLayout" class="easyui-layout" data-options="fit:true">
			<div data-options="region:'center',border:false">
				<table id="student_studentEdit_educationDatagrid"></table>
			</div>
		</div>
	</div>
	<div title="培训信息" data-options="iconCls:'icon-reload'" style="padding:20px 0 0 0;">
		<div id="student_studentEdit_trainingLayout" class="easyui-layout" data-options="fit:true">
			<div data-options="region:'center',border:false">
				<table id="student_studentEdit_trainingDatagrid"></table>
			</div>
		</div>
	</div>
	<div title="个人相关" data-options="iconCls:'icon-reload'" style="padding:20px 0 0 0;">
		<form id="student_studentEdit_editStudentOtherForm" method="post">
			<table>
				<tr>
					<td style="text-align: right;">&nbsp;&nbsp;&nbsp;&nbsp;证件类型：</td>
					<td><input name="identityType" style="width:240px;" readonly="readonly" /></td>
					<td style="text-align: right;">&nbsp;&nbsp;&nbsp;&nbsp;证件号码：</td>
					<td><input name="identityNo" style="width:240px;" readonly="readonly" /></td>
				</tr>
				<tr>
					<td style="text-align: right;">出生日期：</td>
					<td><input name="birthday" style="width:240px;" readonly="readonly" /></td>
					<td style="text-align: right;">出生地点：</td>
					<td><input name="birthplace" style="width:240px;" readonly="readonly" /></td>
				</tr>
				<tr>
					<td style="text-align: right;">血型：</td>
					<td><input name="bloodtype" style="width:240px;" readonly="readonly" /></td>
					<td style="text-align: right;">民族：</td>
					<td><input name="nation" style="width:240px;" readonly="readonly" /></td>
				</tr>
				<tr>
					<td style="text-align: right;">政治面貌：</td>
					<td><input name="political_status" style="width:240px;" readonly="readonly" /></td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td style="text-align: right;">家庭住址：</td>
					<td colspan="3"><input name="homeAddress" style="width:320px;" readonly="readonly" />&nbsp;</td>
				</tr>
				<tr>
					<td style="text-align: right;">邮编：</td>
					<td><input name="postcode" style="width:240px;" readonly="readonly" /></td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
				</tr>

			</table>
		</form>
	</div>
</div>